how to write the polynomial given the zeros